Skip to content

Add test for THRIFT-5947 js exception CTOR issue#3385

Merged
Jens-G merged 2 commits intoapache:masterfrom
Jens-G:test-js-es6-exception-constructor
Apr 9, 2026
Merged

Add test for THRIFT-5947 js exception CTOR issue#3385
Jens-G merged 2 commits intoapache:masterfrom
Jens-G:test-js-es6-exception-constructor

Conversation

@Jens-G
Copy link
Copy Markdown
Member

@Jens-G Jens-G commented Apr 8, 2026

Client: js

Add unit tests verifying that ES6-generated exception classes pass the exception name string to super() instead of the args object. This is a regression test for the bug fixed in PR #3372, where super(args) caused TBinaryProtocol.writeStringOrBinary to throw.

Client: js

Add unit tests verifying that ES6-generated exception classes pass the
exception name string to super() instead of the args object. This is a
regression test for the bug fixed in PR apache#3372, where super(args) caused
TBinaryProtocol.writeStringOrBinary to throw.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mergeable mergeable bot added the nodejs label Apr 8, 2026
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Jens-G Jens-G merged commit 98a7137 into apache:master Apr 9, 2026
83 of 84 checks passed
@Jens-G Jens-G deleted the test-js-es6-exception-constructor branch April 9, 2026 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant